package com.yvon.maple.service.system.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 重置密码请求参数
 *
 * @author yvon
 * @since 2022-12-16
 */
@Data
@ApiModel("重置密码请求参数")
public class ResetPasswordVO {

    @ApiModelProperty(value = "用户ID", required = true)
    @NotNull(message = "用户ID不能为空")
    private Long id;

    @ApiModelProperty(value = "密码", required = true)
    @NotNull(message = "密码不能为空")
    private String password;

}
